﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsSQualityAnalysis")]
    public class MsSQualityAnalysis
    {
        public Guid TaskId { get; set; }

        [Key]
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid MsSQualityAnalysisGuid { get; set; }

        [Column(TypeName = "varchar(500)")]
        public string ProjectName { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string ProjectStage { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string BuildingName { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string FloorName { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string HouseType { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string TaskProperty { get; set; }

        [Column("r-chuizhidu_P", TypeName = "numeric")]
        public int r_chuizhidu_P { get; set; }

        [Column("r-dimianpingzhengdu_P", TypeName = "numeric")]
        public int r_dimianpingzhengdu_P { get; set; }

        [Column("r-dimianshuipingdu_P", TypeName = "numeric")]
        public int r_dimianshuipingdu_P { get; set; }

        [Column("r-fangzhengxing_P", TypeName = "numeric")]
        public int r_fangzhengxing_P { get; set; }

        [Column("r-hunningtuqiangdu_P", TypeName = "numeric")]
        public int r_hunningtuqiangdu_P { get; set; }

        [Column("r-jiemianchicun_P", TypeName = "numeric")]
        public int r_jiemianchicun_P { get; set; }

        [Column("r-kaijianjinshen_P", TypeName = "numeric")]
        public int r_kaijianjinshen_P { get; set; }

        [Column("r-loubanbandishuipingdu_P", TypeName = "numeric")]
        public int r_loubanbandishuipingdu_P { get; set; }

        [Column("r-loubanhoudu_P", TypeName = "numeric")]
        public int r_loubanhoudu_P { get; set; }

        [Column("r-mendongchicun_P", TypeName = "numeric")]
        public int r_mendongchicun_P { get; set; }

        [Column("r-pingzhengdu_P", TypeName = "numeric")]
        public int r_pingzhengdu_P { get; set; }

        [Column("r-tianhuapingzhengdu_P", TypeName = "numeric")]
        public int r_tianhuapingzhengdu_P { get; set; }

        [Column("r-waichuangdongkouchicun_P", TypeName = "numeric")]
        public int r_waichuangdongkouchicun_P { get; set; }

        [Column("r-yinyang_P", TypeName = "numeric")]
        public int r_yinyang_P { get; set; }

        [Column("r-waichuangneiceqiangtihoudujicha_P", TypeName = "numeric")]
        public int r_waichuangneiceqiangtihoudujicha_P { get; set; }

        [Column("r-chuizhidu_C", TypeName = "numeric")]
        public int r_chuizhidu_C { get; set; }

        [Column("r-dimianpingzhengdu_C", TypeName = "numeric")]
        public int r_dimianpingzhengdu_C { get; set; }

        [Column("r-dimianshuipingdu_C", TypeName = "numeric")]
        public int r_dimianshuipingdu_C { get; set; }

        [Column("r-fangzhengxing_C", TypeName = "numeric")]
        public int r_fangzhengxing_C { get; set; }

        [Column("r-hunningtuqiangdu_C", TypeName = "numeric")]
        public int r_hunningtuqiangdu_C { get; set; }

        [Column("r-jiemianchicun_C", TypeName = "numeric")]
        public int r_jiemianchicun_C { get; set; }

        [Column("r-kaijianjinshen_C", TypeName = "numeric")]
        public int r_kaijianjinshen_C { get; set; }

        [Column("r-loubanbandishuipingdu_C", TypeName = "numeric")]
        public int r_loubanbandishuipingdu_C { get; set; }

        [Column("r-loubanhoudu_C", TypeName = "numeric")]
        public int r_loubanhoudu_C { get; set; }

        [Column("r-mendongchicun_C", TypeName = "numeric")]
        public int r_mendongchicun_C { get; set; }

        [Column("r-pingzhengdu_C", TypeName = "numeric")]
        public int r_pingzhengdu_C { get; set; }

        [Column("r-tianhuapingzhengdu_C", TypeName = "numeric")]
        public int r_tianhuapingzhengdu_C { get; set; }

        [Column("r-waichuangdongkouchicun_C", TypeName = "numeric")]
        public int r_waichuangdongkouchicun_C { get; set; }

        [Column("r-yinyang_C", TypeName = "numeric")]
        public int r_yinyang_C { get; set; }

        [Column("r-waichuangneiceqiangtihoudujicha_C", TypeName = "numeric")]
        public int r_waichuangneiceqiangtihoudujicha_C { get; set; }

        /// <summary>
        /// 踢脚线平整度_爆点数
        /// </summary>
        [Column("r-tijiaoxianpingzhengdu_P", TypeName = "int8")]
        public int r_tijiaoxianpingzhengdu_P { get; set; }

        /// <summary>
        /// 踢脚线平整度_测点数
        /// </summary>

        [Column("r-tijiaoxianpingzhengdu_C", TypeName = "int8")]
        public int r_tijiaoxianpingzhengdu_C { get; set; }

        /// <summary>
        /// 门套线垂直度_爆点数
        /// </summary>
        [Column("r-mentaoxianchuizhidu_P", TypeName = "int8")]
        public int r_mentaoxianchuizhidu_P { get; set; }

        /// <summary>
        /// 门套线垂直度_测点数
        /// </summary>
        [Column("r-mentaoxianchuizhidu_C", TypeName = "int8")]
        public int r_mentaoxianchuizhidu_C { get; set; }

        /// <summary>
        /// 门套线垂平整度_爆点数
        /// </summary>
        [Column("r-mentaoxianpingzhengdu_P", TypeName = "int8")]
        public int r_mentaoxianpingzhengdu_P { get; set; }

        /// <summary>
        /// 门套线垂平整度_测点数
        /// </summary>
        [Column("r-mentaoxianpingzhengdu_C", TypeName = "int8")]
        public int r_mentaoxianpingzhengdu_C { get; set; }

        /// <summary>
        /// 阴阳角垂直度_爆点数
        /// </summary>
        [Column("r-yinyangjiaozhixiandu_P", TypeName = "int8")]
        public int r_yinyangjiaozhixiandu_P { get; set; }

        /// <summary>
        /// 阴阳角垂直度_测点数
        /// </summary>
        [Column("r-yinyangjiaozhixiandu_C", TypeName = "int8")]
        public int r_yinyangjiaozhixiandu_C { get; set; }

        public Guid ProjectGuid { get; set; }
        public Guid CompanyGuid { get; set; }
        public string PointIndex { get; set; }
        public Guid PointGuid { get; set; }
    }
}